#ifndef __UICTRLWND__H__
#define __UICTRLWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagCtrlWndBtnDisplay
{
	CTRL_WND_DIAL_ON = 0,
	CTRL_WND_DIAL_PANEL,
	CTRL_WND_PHONE_BOOK,
	CTRL_WND_CALL_RECORD,
	CTRL_WND_PAIR_RECORD,
	CTRL_WND_HANG_UP,
	MAX_CTRL_WND_BTN,
} CTRL_WND_BTN;

class UiCtrlWnd :
	public UiWin
{
public:
	UiCtrlWnd();
	~UiCtrlWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnCtrlWnd[MAX_CTRL_WND_BTN];
	ImagingHelper	*m_CtrlWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;

};

#endif